package com.jming.jike.service.backend;

import com.jming.jike.common.PageResult;
import com.jming.jike.dto.backend.OrdersDTO;
import com.jming.jike.vo.backend.OrdersVO;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/04/16
 */
public interface OrdersService {

    /**
     * 分页查询订单信息
     *
     * @param ordersDTO
     * @return PageResult<OrdersVO>
     * @Author jinming.zhang
     * @Date 2022/4/29
     */
    PageResult<OrdersVO> pageQuery(OrdersDTO ordersDTO);

    /**
     * 查询详情信息
     *
     * @param id
     * @return OrdersVO
     * @Author jinming.zhang
     * @Date 2022/4/29
     */
    OrdersVO ordersDetail(Long id);

    /**
     * 操作订单信息
     *
     * @param ordersDTO
     * @return Boolean
     * @Author jinming.zhang
     * @Date 2022/5/1
     */
    Boolean operOrders(OrdersDTO ordersDTO);
}
